import Vue from 'vue'
import App from './App.vue'
import axios from 'axios';
import router from './router'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/zh-CN'

import iView from 'iview';
import 'iview/dist/styles/iview.css';

Vue.use(ElementUI, { locale })
Vue.use(iView);

axios.defaults.withCredentials=true;
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
